<!-- Stored in resources/views/child.blade.php -->

@extends('layouts.app')

@section('title', 'Page Title')

@section('sidebar')
    @parent

    <p>This is appended to the master sidebar.</p>
@endsection

@section('content')
    <div class="page-group">
        <div id="production" class="page">
            <header class="bar bar-nav">
                <a class="button button-link button-nav pull-left" href="/index" data-transition='slide-out'>
                    <span class="icon icon-left"></span>
                    返回
                </a>
                <h1 class="title">{{$title}}</h1>
            </header>
            @include('nav')
            <div class="content">
                <div class="page-index">
                    <!-- <div class="card">
                        <div style="background-image:url(//gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i3/TB10LfcHFXXXXXKXpXXXXXXXXXX_!!0-item_pic.jpg_250.3.0q60.jpg)" valign="bottom" class="card-header color-white no-border">旅途的山</div>
                        <div class="card-content">
                            <div class="card-content-inner">
                                <p class="color-gray">发表于 2015/01/15</p>
                                <p>此处是内容...</p>
                            </div>
                        </div>
                        <div class="card-footer">
                            <a href="#" class="link">赞</a>
                            <a href="#" class="link">更多</a>
                        </div>
                    </div>
                    <div class="card">
                        <div style="background-image:url(//gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i3/TB10LfcHFXXXXXKXpXXXXXXXXXX_!!0-item_pic.jpg_250.3.0q60.jpg)" valign="bottom" class="card-header color-white no-border">旅途的山</div>
                        <div class="card-content">
                            <div class="card-content-inner">
                                <p class="color-gray">发表于 2015/01/15</p>
                                <p>此处是内容...</p>
                            </div>
                        </div>
                        <div class="card-footer">
                            <a href="#" class="link">赞</a>
                            <a href="#" class="link">更多</a>
                        </div>
                    </div>-->
                </div>
            </div>
        </div>
    </div>
@endsection

@section('script')
    <script>
        //打开自动初始化页面的功能
        //建议不要打开自动初始化，而是自己调用 $.init 方法完成初始化
        $.config = {
        }
    </script>
    <script type='text/javascript' src='{{ URL::asset('js/list.js') }}' charset='utf-8'></script>
@endsection
